-
Notifications
You must be signed in to change notification settings - Fork 845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solution #802
base: master
Are you sure you want to change the base?
Solution #802
Conversation
YerepSemyon
commented
Sep 13, 2024
templates/includes/sidebar.html
Outdated
{% if user.is_authenticated %} | ||
<li> | ||
User: <a href="{% url "taxi:driver-detail" pk=user.id %}">{{ user.username }}</a> | ||
</li> | ||
<li> | ||
<a href="{% url 'logout' %}">Logout</a> | ||
</li> | ||
{% else %} | ||
<li> | ||
<a href="{% url 'login' %}">Login</a> | ||
</li> | ||
{% endif %} | ||
<hr> | ||
<br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix html format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good!